package tech.konata.packetfix.mixins;

import de.florianmichael.viamcp.fixes.FixedSoundEngine;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
import tech.konata.packetfix.interfaces.IWorld;

@Mixin(World.class)
public class MixinWorld implements IWorld {

    @Overwrite
    public boolean destroyBlock(BlockPos var1, boolean var2) {
        return FixedSoundEngine.destroyBlock(((World) (IWorld) this), var1, var2);
    }

}
